package com.management.demo.dto.wx;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "添加/修改微信用户参数")
public class WxUserDTO {

    @Schema(description = "id")
    private Integer id;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "性别 0-男 1-女 2-未知")
    private Integer sex;

    @Schema(description = "生日")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birthday;
}
